package com.ly.honor.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.Honor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.honor.entity.dto.*;
import com.ly.honor.entity.vo.HonorCountVO;
import com.ly.honor.entity.vo.HonorQueryVO;
import com.ly.honor.entity.vo.PlayerHonorQueryVO;

import java.util.List;
import java.util.Map;

/**
* @author 17798
* @description 针对表【bs_honor】的数据库操作Service
* @createDate 2022-11-16 11:49:49
*/
public interface HonorService extends IService<Honor> {

    Page<HonorQueryVO> selectHonorPage(long pageNum,long pageSize,HonorQueryDTO honorQueryDTO);

    HonorQueryVO getHonorById(long id);

    void insertHonor(HonorCreateDTO honorCreateDTO);

    void updateHonor(HonorEditDTO honorEditDTO);

    void deleteHonorById(long id);

    void removeBatch(List<Long> idList);

    Page<PlayerHonorQueryVO> getPlayerHonorPage(long pageNum, long pageSize, PlayerHonorQueryDTO playerDTO);

    List<Integer> getHonorByPlayer(Integer id);

    void updatePlayerHonor(PlayerHonorEditDTO playerHonorEditDTO);

    void insertPlayerHonor(PlayerHonorCreateDTO playerHonorCreateDTO);

    Map<String,Object> findHonorCount();

    List<JSONObject> getClueHonor();

    List<PlayerHonorQueryVO> getPlayerHonorAll();
}
